package com.sdr.hkcamera;

import android.content.Context;

/**
 * Created by homelajiang on 2016/9/26 0026.
 */

public interface HKContract {

    interface View {
        void loginSuccess();

        void loginFail();

        void loadNodeResult(boolean isSuccess);
    }

    interface Presenter {
        void attach(Context context, HKContract.View view);

        void login(String serverAddr, String username, String password,String macAddr);

        void loadNodeList();
    }
}
